import unittest
import TestTicTacToe
import TestPlayer

def TestRunner():
	result = unittest.TestResult()
	#create suites for the test classes
	suite1 = TestTicTacToe.suite()
	suite2 = TestPlayer.suite()

	#initialize suite
	suite = unittest.TestSuite()

	#add tests to suite
	suite.addTest(suite1)
	suite.addTest(suite2)
	

	result = unittest.TextTestRunner(verbosity=2).run(suite)
	
	return result.wasSuccessful()